<template>
  <div class="news-detail">
    新闻详情{{newsId}}
  </div>
</template>

<script>
export default {
  data(){
    return {
      newsId:0
    }
  },
  created() {
    this.newsId = this.$route.query.id;
  },
}
</script>

<style>

</style>